package com.neuedu.model;

import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Sales {

	private int sno;
	//private int goodsNo;
	private Goods goods;
	private int quantitySale;
	private float priceSale;
	//按照指定格式显示时间
	@JSONField(format="yyyy/MM/dd")
	private Date dateSale;
	private String handler;
	//private int clientNo;
	private Client client;
	private String sremark;
	//private int storageNo;
	private Storage storage;
	
	
	public Sales() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Sales(int sno, Goods goods, int quantitySale, float priceSale, Date dateSale, String handler, Client client,
			String sremark, Storage storage) {
		super();
		this.sno = sno;
		this.goods = goods;
		this.quantitySale = quantitySale;
		this.priceSale = priceSale;
		this.dateSale = dateSale;
		this.handler = handler;
		this.client = client;
		this.sremark = sremark;
		this.storage = storage;
	}
	public int getSno() {
		return sno;
	}
	public void setSno(int sno) {
		this.sno = sno;
	}
	public Goods getGoods() {
		return goods;
	}
	public void setGoods(Goods goods) {
		this.goods = goods;
	}
	public int getQuantitySale() {
		return quantitySale;
	}
	public void setQuantitySale(int quantitySale) {
		this.quantitySale = quantitySale;
	}
	public float getPriceSale() {
		return priceSale;
	}
	public void setPriceSale(float priceSale) {
		this.priceSale = priceSale;
	}
	public Date getDateSale() {
		return dateSale;
	}
	public void setDateSale(Date dateSale) {
		this.dateSale = dateSale;
	}
	public String getHandler() {
		return handler;
	}
	public void setHandler(String handler) {
		this.handler = handler;
	}
	public Client getClient() {
		return client;
	}
	public void setClient(Client client) {
		this.client = client;
	}
	public String getSremark() {
		return sremark;
	}
	public void setSremark(String sremark) {
		this.sremark = sremark;
	}
	public Storage getStorage() {
		return storage;
	}
	public void setStorage(Storage storage) {
		this.storage = storage;
	}
	
	
	
}
